﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace socket_server.Transport_Protocol
{
    public class CBindCmd
    {
        public Dictionary<int, string> GetCM_Dictionary()
        {
            Dictionary<int, string> CM_Dictionary = new Dictionary<int, string>();
            CM_Dictionary.Add(CClientToServerClass.CM_Test, "socket_server.Transport_Protocol.CCM_Test");
            CM_Dictionary.Add(CClientToServerClass.CM_Fruit, "socket_server.Transport_Protocol.CCM_Fruit");
            CM_Dictionary.Add(CClientToServerClass.CM_QueryBag, "socket_server.Transport_Protocol.CCM_QueryBag");
            CM_Dictionary.Add(CClientToServerClass.CM_Say, "socket_server.Transport_Protocol.CCM_Say");
            return CM_Dictionary;
        }

        public Dictionary<int, string> GetSM_Dictionary()
        {
            Dictionary<int, string> SM_Dictionary = new Dictionary<int, string>();
            SM_Dictionary.Add(CServerToClientClass.SM_Test, "socket_server.Transport_Protocol.CSM_Test");
            SM_Dictionary.Add(CServerToClientClass.SM_Fruit, "socket_server.Transport_Protocol.CSM_Fruit");
            SM_Dictionary.Add(CServerToClientClass.SM_QueryBag, "socket_server.Transport_Protocol.CSM_QueryBag");
            SM_Dictionary.Add(CServerToClientClass.SM_SetCBaseRemoteEndPointStr, "socket_server.Transport_Protocol.CSM_SetCBaseRemoteEndPointStr");
            return SM_Dictionary;
        }

        public Dictionary<int, string> GetDoCM_Dictionary()
        {
            Dictionary<int, string> DoCM_Dictionary = new Dictionary<int, string>();
            DoCM_Dictionary.Add(CClientToServerClass.CM_Test, "DoCM_Test");
            DoCM_Dictionary.Add(CClientToServerClass.CM_Fruit, "DoCM_Fruit");
            DoCM_Dictionary.Add(CClientToServerClass.CM_QueryBag, "DoCM_QueryBag");
            DoCM_Dictionary.Add(CClientToServerClass.CM_Say, "DoCM_Say");
            return DoCM_Dictionary;
        }
    }
}
